function enterXInfo(){
    var param = $("#enterForm").serialize();
    $.post(ctx+"/director/xInfo/enterXInfo",param,function(msg){
        swal({
            title:"信息提示！",
            text:msg,
            type:"success",
            allowOutsideClick:false
        }).then(function () {
            location.href=ctx+"/director/xInfo/searchXInfo";
        });
    });

}